html,body,div {
	margin: 0;
	padding: 0;
}

.container {
	padding: 20px;
	box-sizing: border-box;
}

.row:after, .row:before{
	content: "";
	display: table;
	clear: both;
}

.col {
	background-color: #EEE;
	height: 60px;
	border-width: 1px;
	border-style: solid;
	border-color: #aaa;
	width: 8.33%;
	box-sizing: border-box;
	float: left;
	margin: 10px;
}

@media only screen and (min-width: 768px) {

	.min-col-1 {
		width: calc(8.33% - 20px);
	}

	.min-col-2 {
		width: calc(16.66% - 20px);
	}

	.min-col-3 {
		width: calc(24.99% - 20px);
	}

	.min-col-4 {
		width: calc(33.32% - 20px);
	}

	.min-col-6 {
		width: calc(49.98% - 20px);
	}
}

@media only screen and (max-width: 768px) {

	.max-col-1 {
		width: calc(8.33% - 20px);
	}

	.max-col-2 {
		width: calc(16.66% - 20px);
	}

	.max-col-3 {
		width: calc(24.99% - 20px);
	}

	.max-col-4 {
		width: calc(33.32% - 20px);
	}

	.max-col-6 {
		width: calc(49.98% - 20px);
	}

	.max-col-8 {
		width: calc(66.64% - 20px);
	}

	.max-col-12 {
		width: calc(100% - 20px);
	}
}